package system.bean;

public class Message {

	private MessageType messageType = null;
	private String messageContent = null;
	private String senderID = null;
	private String targetID = null;
	private String sendTime = null;
	
	public String getMessageType() {
		if(messageType == null)
			return null;
		return messageType.toString().toLowerCase();

	}
	public void setMessageType(MessageType messageType) {
		this.messageType = messageType;
	}
	public String getMessageContent() {
		return messageContent;
	}
	public void setMessageContent(String messageContent) {
		this.messageContent = messageContent;
	}
	public String getSenderID() {
		return senderID;
	}
	public void setSenderID(String senderID) {
		this.senderID = senderID;
	}
	public String getTargetID() {
		return targetID;
	}
	public void setTargetID(String targetID) {
		this.targetID = targetID;
	}
	public String getSendTime() {
		return sendTime;
	}
	public void setSendTime(String sendTime) {
		this.sendTime = sendTime;
	}
	
	
}
